﻿<UserControl x:Class="ExtendPropertyLib.XAML.UI.CoverFlow.FlowControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            
    >
  <Grid ClipToBounds="True">
    <!--<Grid.Background>
      <LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
        <LinearGradientBrush.GradientStops>
          <GradientStop Color="Black" Offset="0"/>
          <GradientStop Color="#696988" Offset="1"/>
        </LinearGradientBrush.GradientStops>
      </LinearGradientBrush>
    </Grid.Background>-->
    <Viewport3D x:Name="viewPort" Grid.Column="0" Grid.Row="0" ClipToBounds="False" MouseDown="viewPort_MouseDown">
      <Viewport3D.Camera>
        <PerspectiveCamera x:Name="camera" Position="0,0,3" 
             UpDirection="0,1,0" LookDirection="0,0,-1" 
             FieldOfView="100" NearPlaneDistance="0.125"/>
      </Viewport3D.Camera>
      <Viewport3D.Children>
        <ModelVisual3D>
          <ModelVisual3D.Content>
            <DirectionalLight Color="White" Direction="1,0,-4" />
          </ModelVisual3D.Content>
        </ModelVisual3D>
        <ModelVisual3D>
          <ModelVisual3D.Content>
            <DirectionalLight Color="White" Direction="-1,0,-4" />
          </ModelVisual3D.Content>
        </ModelVisual3D>
        <ModelVisual3D x:Name="visualModel">
        </ModelVisual3D>
      </Viewport3D.Children>
    </Viewport3D>
  </Grid>
</UserControl>
